import request from '@/utils/request'

export function snCode(data) {
  return request({
    url: `/me/assy/getAssyList`,
    method: 'post',
    data
  })
}

export function assItemCode(sn, componentSn) {
  return request({
    url: `/me/assy/assyComponentBySn?sn=${sn}&componentSn=${componentSn}`,
    method: 'get'
  })
}

export function getSop(station) {
  return request({
    url: `/me/assy/sop?station=${station}`,
    method: 'get'
  })
}
